Skip to content

Conversation

albertskog
Copy link

This adds support for using I2C with the alternate mappings PD1, PD0 and PC5, PC6.

To use PD1 (the SWDIO pin), pinV32_DisconnectDebug(PD_1) must be called before Wire.begin(), not sure if this should be documented somewhere or added to the code?

I also changed the existing default mapping to use AFIO_Remap_I2C1_DISABLE so that it is possible to change the pin mapping back to the default at runtime.

Tested on CHV0003F4P6-EVT-R0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant